<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <title>my-category</title>
  <meta name='viewport' content='width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0'>
  <link rel="stylesheet" href="./css/common.css">
  <link rel="stylesheet" href="./css/category.css">
  <script src="./lib/flexible/flexible.js"></script>
</head>

<body>

  <div class="m_container">
    <!-- 头部 -->
    <div class="m_header">
      <div class="header_top clearfix">
        <div class="top_logo fl">
          <img src="./images/header_logo.png" alt="">
        </div>
        <div class="header_app fr">
          <a href="#">
            <img src="./images/header_app.png" alt="">
          </a>
        </div>
      </div>
      <div class="header_search clearfix">
        <input type="text" name="" id="" placeholder="请输入你想比价的商品" class="fl">
        <button class="fr">搜索</button>
      </div>
    </div>
   
    <!-- 分类 -->
    <ul class="m_category">
     
     
    </ul>

    <div class="footer_box">
      <!-- 登录注册 -->
      <div class="login_register">
        <a href="#" class="login">登录</a>
        <a href="#" class="register">注册</a>
        <a href="javascript:;" class="to_top"> <span></span>返回顶部</a>
      </div>
      <!-- 底部 -->
      <div class="m_footer">
        <p><a href="#">手机APP下载</a>慢慢买手机版--<span>掌上比价平台</span></p>
        <p>m.manmanbuy.com</p>
      </div>
    </div>

  </div>

  <!-- 分类模板 -->
  <script type="text/template" id="tmp">
    {{each result v i}}
    <li>
      <div class="category_tit clearfix" data-id="{{v._id}}" data-title-id ="{{v.titleId}}">
        <span>{{v.title}}</span>
        <span class="fr arrow_down" ><img src="./images/down2.png" alt=""></span>
      </div>
      <div class="category_content">
          <ol class="clearfix">
            
          </ol>
      </div>
    </li>
      {{/each}}
    </script>
  
    <script type="text/template" id="tmp1">
      {{each result v i}}
      <li><a href="productlist.html?categoryId={{v.categoryId}}&category={{v.category}}" class= "category" >{{v.category}}</a></li>
      {{/each}}
    </script>


  <script src="./lib/jquery/jquery.js"></script>
  <script src="./lib/artTemplate/template-web.js"></script>
  <script src="./js/category.js"></script>
  <script>



  </script>
</body>

</html>